﻿using System;
using System.Xml.Serialization;

namespace FlickrSL.Data
{
    [XmlType("tag")]
    public class Tag
    {
        [XmlAttribute("id")]
        public String Id { get; set; }

        [XmlAttribute("author")]
        public String AuthorId { get; set; }

        [XmlAttribute("raw")]
        public String RawValue { get; set; }

        [XmlAttribute("machine-tag")]
        public Boolean IsMachineTag { get; set; }

        [XmlText]
        public String Value { get; set; }

        public Tag()
        {
        }
    }
}
